package mysql

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Phone       string `gorm:"type:char(11)" json:"phone"`
	Password    string `gorm:"type:varchar(32)" json:"password"`
	Age         int    `gorm:"type:int" json:"age"`
	Addr        string `gorm:"type:varchar(50)" json:"addr"`
	Email       string `gorm:"type:varchar(50)" json:"email"`
	HeaderImage string `gorm:"type:varchar(200)" json:"header_image"`
}
